package org.dx.oho.book.one.proxy.cglib;

import org.dx.oho.book.one.reflex.ReflectServiceImpl;

/**
 * create by duanx 2021/5/24
 *@description： todo
 *@classname: CglibProxyTest
 *@author: duanx
 *@date: 2021/5/24 23:00
 **/
public class CglibProxyTest {
    public static void main(String[] args) {
        CglibProxyExample cglibProxyExample = new CglibProxyExample();
        ReflectServiceImpl reflectService = (ReflectServiceImpl) cglibProxyExample.getProxy(ReflectServiceImpl.class);
        reflectService.syaHello("李四");
    }
}
